package com.hyq.model;


//import lombok.Data;

import java.sql.Timestamp;

/**
 * @Description:
 * @Param:
 * @return:
 * @Author: 酥胖子
 * @Date: 2019-06-12
 */
//@Data
public class User {

    /**
     * 0代表管理员,  1代表普通用户
     */
    private static final int USER_ADMIN = 0;
    private static final int USER_NORMAL = 1;
    /**
     * 0代表用户未被锁定, 1代表用户锁定
     */
    private static final int USER_UNLOCK = 0;
    private static final int USER_LOCK = 1;
    /**
     * 用户的基本属性
     */
    private String userId;
    private String userName;
    private String password;
    private String userPhone;
    private String userEmail;
    private String userSex;
    private Timestamp createTime;
    //用户类型：0代表管理员,  1代表老师，2学生
    private String userType;
    private String userState;
    private String credit;
    private Timestamp lastLoginTime;
    private String lastIp;


}
